﻿using mozhi.smarterp.Finance.Accounts;
using mozhi.smarterp.Finance.Querys;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace mozhi.smarterp.Finance.Banks
{
    public interface IBankTypeAppService : IApplicationService
    {
        Task<BankTypeDto> GetAsync(Guid id);
        Task<PagedResultDto<BankTypeDto>> FindAsync(PageQuery query);

        Task<BankTypeDto> CreateAsync(BankTypeCreateDto dto);

        Task<BankTypeDto> UpdateAsync(BankTypeUpdateDto dto);

        Task<bool> DeleteAsync(Guid id);
    }
}
